-- GENERATED SPELL FOR [Bonechewer Evoker] --


function spell0_19701(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(9053,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19701', 3000, 1)
end

function Sorts_19701(pUnit, Event)
local choix_sorts_19701 = math.random(0, 0)
if choix_sorts_19701 == 0 then
pUnit:RegisterEvent('spell0_19701', 1, 1)
end
end

function mob19701_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19701', math.random(1500, 3000), 1)
end

function mob19701_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19701_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19701_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19701, 1, 'mob19701_Action')
RegisterUnitEvent(19701, 2, 'mob19701_Leave')
RegisterUnitEvent(19701, 3, 'mob19701_Kill')
RegisterUnitEvent(19701, 4, 'mob19701_Die')
